/********************************************************************
* Copyright (c) 2013,TGS,All rights reserved.
* fileName:	ArcEntity.h	
* created:	2013/07/29 8:42

* version:	1.6
* detail: 
*********************************************************************/


#pragma once

#include "DxfEntity.h"
#include <TGS/GeoMath2.0/Point.h>

class ArcEntity : public DxfEntity
{
public:
	ArcEntity(void);
	~ArcEntity(void);
public:
	void setArc(const Point& center, double radius, double angel1, double angel2);
public:
	virtual Envelope getEnvelope() const;
	virtual void render(RenderContext* renderContext);
	virtual void traslate(const Point& point);
private:
	Point	_center;
	double	_radius;
	double	_angle1;
	double	_angle2;
};

